package cn.tank.rabbitwork.dao;

import cn.tank.rabbitwork.entity.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface OrderRepository extends JpaRepository<Order,Integer> {
    List<Order> findAllByPsnName(String name);


}
